home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / Scrap.idl < prev    next >
Text File  |  1996-05-01  |  3KB  |  106 lines

  1. /*
  2.      File:        Scrap.idl
  3.  
  4.      Contains:    Scrap Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __SCRAP_IDL__
  19. #define __SCRAP_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __TYPES_IDL__
  25. #include <Types.idl>
  26. #endif
  27. #ifndef __FILEMANAGER_IDL__
  28. #include <FileManager.idl>
  29. #endif
  30.  
  31. #ifdef __SOMIDL__
  32.  
  33. /*
  34. _________________________________________________________________________________________________________
  35.  * STUCTURES
  36. _________________________________________________________________________________________________________
  37. */
  38. typedef OpaquePtr                ScrapRef;
  39.  
  40. typedef UInt32                    ScrapItemUserReference;
  41.  
  42. typedef OSType                    ScrapItemType;
  43.  
  44. #if FOR_SYSTEM8_PREEMPTIVE
  45. /*
  46. _________________________________________________________________________________________________________
  47.  * SCRAP ITEM TYPE ATTRIBUTES
  48. _________________________________________________________________________________________________________
  49. */
  50. typedef OptionBits                ScrapItemTypeAttributes;
  51.  
  52. /*
  53. _________________________________________________________________________________________________________
  54.  * FSOBJECTREF SCRAP ITEM TYPE
  55. _________________________________________________________________________________________________________
  56. */
  57.  
  58.  
  59. typedef SOMLargeStruct            FSObjectScrapItemType;        /* Derived from a struct of 112 bytes in size */
  60.  
  61. /*
  62. _________________________________________________________________________________________________________
  63.     
  64.  * FSOBJECTREF PROMISE SCRAP ITEM TYPE
  65. _________________________________________________________________________________________________________
  66. */
  67.  
  68.  
  69. typedef SOMLargeStruct            PromiseFSObjectScrapItemType; /* Derived from a struct of 112 bytes in size */
  70.  
  71. /*
  72. _________________________________________________________________________________________________________
  73.  * CREATING & DELETING SCRAPS
  74. _________________________________________________________________________________________________________
  75. */
  76. /*
  77. _________________________________________________________________________________________________________
  78.  * ADDING SCRAP ITEMS
  79. _________________________________________________________________________________________________________
  80. */
  81. /*
  82. _________________________________________________________________________________________________________
  83.  * GETTING SCRAP ITEM INFORMATION
  84.      NOTE: ALL INDEXES ARE 1 BASED (1 .. N)
  85. _________________________________________________________________________________________________________
  86. */
  87. #endif
  88. #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
  89. /*
  90. _________________________________________________________________________________________________________
  91.  * CLASSIC SCRAP MANAGER API
  92. _________________________________________________________________________________________________________
  93. */
  94. typedef SOMLargeStruct            ScrapStuff;                    /* Derived from a struct of 16 bytes in size */
  95.  
  96. typedef OpaquePtr                PScrapStuff;                /* Substituted OpaquePtr for ``ScrapStuff*'' */
  97.  
  98. typedef OpaquePtr                ScrapStuffPtr;                /* Substituted OpaquePtr for ``ScrapStuff*'' */
  99.  
  100. #endif
  101.  
  102. #endif /* __SOMIDL__ */
  103.  
  104. #endif /* __SCRAP_IDL__ */
  105.  
  106.